ip ospf message-digest-key KEYID md5 KEY

This command sets the OSPF authentication key to a cryptographic password.

Syntax

ip ospf message-digest-key KEYID md5 KEY [a.b.c.d]
no ip ospf message-digest-key   

Command

Description

KEYID

Defines the KEYID in the range of 1 – 255.

KEY

Defines the OSPF password.

a.b.c.d

Address of the interface.

Default

NA

Command Mode

Privileged User

Example

This example sets the OSPF authentication key to a cryptographic password.

(config-data)# interface vlan1 
(conf-if-VLAN 1)# ip ospf message-digest-key 100 md5 ABCD1234